package com.example.beauty.alarmservice;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO: This method is called when the BroadcastReceiver is receiving
        // an Intent broadcast.
        /*
		 * 相当于： Intent i=new Intent(context,NotifyService.class);
		 * context.startService(i);
		 */
        context.startService(new Intent(context, NotifyService.class));
        throw new UnsupportedOperationException("Not yet implemented");
    }
}
